package com.example.unisys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.unisys.entity.RoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    List<RoleMenu> findUserMenus(@Param("username") String username);

    List<RoleMenu> findUserPermissions(@Param("username") String username);

//    int insert(RoleMenu record);
//
//    int insertSelective(RoleMenu record);
}